<?php
declare (strict_types = 1);

namespace app\listener;

class AdminLog
{
    /**
     * 事件监听处理
     *
     * @return mixed
     */
    public function handle($event)
    {
        if (request()->isPost()) {
            \app\admin\model\AdminLog::record();
        }
    }    
}
